Skip to content

feat: add Glovo provider support#1

Merged
steipete merged 2 commits intosteipete:mainfrom
Miliviu:feat/glovo-provider
May 11, 2026
Merged

feat: add Glovo provider support#1
steipete merged 2 commits intosteipete:mainfrom
Miliviu:feat/glovo-provider

Conversation

@Miliviu
Copy link
Copy Markdown

@Miliviu Miliviu commented Jan 15, 2026

Spain doesn't have Deliveroo or Foodora, I'd love to use ordercli to track my orders whenever I order take out! So I thought adding Glovo support would be a great idea! Let me know if you have any issues with this PR and thanks for creating so many awesome stuff :)

Summary

  • Add Glovo provider client with authentication and API integration
  • Implement CLI commands for viewing Glovo orders, addresses, and coupons
  • Add configuration support for Glovo credentials

Changes

  • internal/glovo/client.go - Glovo API client with authentication
  • internal/glovo/models.go - Data models for Glovo responses
  • internal/glovo/errors.go - Error handling for Glovo API
  • internal/cli/glovo_cmd.go - CLI commands for Glovo operations
  • internal/cli/glovo_cmd_test.go - Unit tests for Glovo commands
  • internal/config/config.go - Configuration support for Glovo credentials

Test plan

  • Verify Glovo authentication flow works correctly
  • Test order listing and filtering functionality
  • Verify address and coupon retrieval commands
  • Run unit tests with go test ./internal/cli/...

Miliviu and others added 2 commits May 11, 2026 16:51
Adds CLI commands for interacting with the Glovo API:
- config show/set: manage base URL, city/country codes, coordinates
- session/logout: authenticate via access token
- history: list past orders
- order: view single order details
- orders: show active orders with --watch mode
- cart: display shopping baskets
- me: show user profile
@steipete steipete force-pushed the feat/glovo-provider branch from cc43307 to 41eb0a6 Compare May 11, 2026 15:52
@steipete steipete merged commit 2c0c30b into steipete:main May 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants